package com.xikeda.service.imp;

import com.xikeda.dao.Expressdelivery;
import com.xikeda.model.DeliveryTable;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author Xiao Linqing
 * @date 2020/6/6 13:11
 */
@Service
public class ExpressdeliveryService {
    @Resource
    private Expressdelivery expressdelivery;
    public Integer findcourierid(String s){
        return  expressdelivery.findcourierid(s);
    }
    public List Finddeliverygoods(String s){
        List<DeliveryTable> list=new ArrayList<DeliveryTable>();
        try{
            list=this.expressdelivery.Finddeliverygoods(s);
        }catch(Exception e){
            e.printStackTrace();
        }
        return list;
    }


}
